.login-box{
  width: 100%;
  height: 100vh;
  background: url('./assets/img/login-img.png') center no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 188px;
  box-sizing: border-box;
  .login-title{
    font-size: pxToEm(32);
    font-weight: bold;
    color: #323232;
    text-align: center;
  }
  .login-title-en{
    color: #323232;
    font-size: pxToEm(16);
    text-align: center;
  }
  .login,.sign{
    min-height: 495px;
    margin-top: 20px;
    width: 481px;
    background: rgba(255,255,255,.6);
    border-radius: 10px;
    box-shadow: 3px 0 3px 0 rgba(0,0,0,.3);
    padding-bottom: 45px;
    box-sizing: border-box;
  }

  nz-select input{
    outline: none !important;
    border: none  !important;
    width: 100% !important;
    padding: 0 !important;
    height: 35px !important;
    line-height: 35px !important;
    margin-left: 0 !important;
    &:focus{
      box-shadow: 0 0 0 0 rgba(0,0,0,0) !important;
    }
  }
  .ant-select-selection--single{
    height: 40px !important;
    border-radius: 0 !important;
    border-color: #eaeaea !important;
  }
  .ant-select-selection__rendered{
    height: 38px !important;
    line-height: 38px  !important;
  }

  .login-type{
    text-align: center;
    font-size: pxToEm(16);
    line-height: 30px;
    height: 30px;
    padding-top: 60px;
    margin-bottom: 20px;
    label{
      margin: 0 20px;
      cursor: pointer;
      span{
        display: inline-block;
        border-radius: 50%;
        width: 16px;
        height: 16px;
        border: 1px solid #cc0000;
        box-sizing: border-box;
        vertical-align: middle;
        margin-top: -2px;
        position: relative;
        &.checked:after{
          content: '';
          display: block;
          width: 12px;
          height: 12px;
          border-radius: 50%;
          background: #cc0000;
          position: absolute;
          left: 1px;
          top: 1px;
        }
      }
    }
  }
  .login-input{
    padding: 0 70px;
    label{
      font-size: pxToEm(16);
      color: #666;
      margin: 12px 0 12px;
      display: inline-block;
    }
    input{
      display: block;
      width: 100%;
      border: 1px solid #eaeaea;
      outline: none;
      height: 40px;
      line-height: 38px;
      color: #323232;
      font-size: pxToEm(16);
      padding: 0 40px 0 20px;
      box-sizing: border-box;
      background: #fff;
      position: relative;
      &:focus{
        border-color: #f3d3d3;
        box-shadow: 0 0 3px 0 rgba(192,0,0,.2);
      }
      &.error{
        border-color: #cc0000;
      }
    }
    .login-info{
      position: absolute;
      left: calc(100% + 10px);
      top: 5px;
      background: #fff;
      color: #cc0000;
      width: 200px;
      height: 30px;
      line-height: 30px;
      box-shadow: 0 0 3px 0 rgba(192,0,0,.4);
      border-radius: 5px;
      padding-left: 10px;
      box-sizing: border-box;
      &:after{
        content: '';
        width: 9px;
        height: 9px;
        transform: rotate(45deg);
        left: -4px;
        top: 11px;
        position: absolute;
        background: #fff;
        display: block;
        box-shadow: -1px 1px 1px 0 rgba(192,0,0,.16);
      }
    }
    .input-box{
      position: relative;
    }
    .input-box:after{
      content: '';
      width: 22px;
      height: 22px;
      position: absolute;
      right: 9px;
      top: 9px;
      background: url("./assets/img/login-sprit.png") top left no-repeat;
    }
    .input-box:last-child:after{
      content: '';
      width: 22px;
      height: 22px;
      position: absolute;
      right: 9px;
      top: 9px;
      background: url("./assets/img/login-sprit.png") top left no-repeat;
      background-position: 0 -26px;
    }
  }
  .login-info{
    padding: 0 70px;
    height: 30px;
    line-height: 30px;
    span{
      color: #cc0000;
    }
    a{
      float: right;
      color: #666;
    }
  }
  .login-btn,.sign-btn{
    display: block;
    margin: 32px auto 20px;
    font-size: pxToEm(18);
    color: #fff;
    background: #cc0000;
    width: 160px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 20px;
    outline: none;
    border: 1px solid #cc0000;
    box-sizing: border-box;
    cursor: pointer;
  }
  .login-sign{
    text-align: center;
    font-size: pxToEm(13.33);
    a{
      color: #1d46cd;
    }
  }
  .sign{
    box-sizing: border-box;
    padding: 29px 40px;
    & form>div{
      margin-bottom: 15px;
      &:last-of-type{
        margin-bottom: 0;
      }
      position: relative;
      span.required{
        color: #cc0000;
        vertical-align: middle;
      }
    }
    .passwordGroup>div{
      position: relative;
    }
    .sign-info{
      position: absolute;
      left: calc(100% + 10px);
      top: 5px;
      background: #fff;
      color: #cc0000;
      width: 200px;
      height: 30px;
      line-height: 30px;
      box-shadow: 0 0 3px 0 rgba(192,0,0,.4);
      border-radius: 5px;
      padding-left: 10px;
      box-sizing: border-box;
      &:after{
        content: '';
        width: 9px;
        height: 9px;
        transform: rotate(45deg);
        left: -4px;
        top: 11px;
        position: absolute;
        background: #fff;
        display: block;
        box-shadow: -1px 1px 1px 0 rgba(192,0,0,.16);
      }
    }
    label{
      display: inline-block;
      width: 70px;
      text-align: right;
      font-size: pxToEm(16);
      color: #666666;
    }
    input,select{
      width: calc(100% - 90px);
      margin-left: 15px;
      border: 1px solid #eaeaea;
      outline: none;
      height: 40px;
      line-height: 38px;
      color: #323232;
      font-size: pxToEm(16);
      padding: 0 40px 0 20px;
      box-sizing: border-box;
      background: #fff;
      position: relative;
      &:focus{
        border-color: #f3d3d3;
        box-shadow: 0 0 3px 0 rgba(192,0,0,.2);
      }
      &.error{
        border-color: #cc0000;
      }
    }
    .sex{
      display: inline-block;
      width: calc(100% - 90px);
      margin-left: 15px;
      div{
        display: inline-block;
        margin-right: 20px;
        cursor: pointer;
      }
      span{
        display: inline-block;
        border-radius: 50%;
        width: 16px;
        height: 16px;
        border: 1px solid #cc0000;
        box-sizing: border-box;
        vertical-align: middle;
        margin-top: -2px;
        position: relative;
        &.checked:after{
          content: '';
          display: block;
          width: 12px;
          height: 12px;
          border-radius: 50%;
          background: #cc0000;
          position: absolute;
          left: 1px;
          top: 1px;
        }
      }
    }
  }
}
